package com.liam.lotterysystem.service.dto;

import lombok.Data;

import java.util.List;

/**
 * @Author: LiamLMK
 * @CreateTime: 2024-10-21
 * @Description:
 * @Version: 1.0
 */

@Data
public class PageListDTO<T> {

    /**
     * 总量
     */
    private Integer total;
    /**
     * 当前页列表
     */
    private List<T> records;

    public PageListDTO(Integer total, List<T> records) {
        this.total = total;
        this.records = records;
    }
}
